creating a spotted effect